package com.suray.wcs.service.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.suray.wcs.service.system.entity.MachineTaskDB;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author cooper
 * @since 2019-06-26
 */
@Mapper
@Repository
public interface MachineTaskDBMapper extends BaseMapper<MachineTaskDB> {
    List<MachineTaskDB> findTaskByPage(Map<String, Object> map) throws Exception;

    List<MachineTaskDB> queryMachineTaskInfo(MachineTaskDB machineTaskDB);

    int deleteTasks(List<MachineTaskDB> machineTaskDBS);

    void insertBatch(List<MachineTaskDB> machineTaskDBS);
}